#ifndef		UDPUNIX_HPP_
# define	UDPUNIX_HPP_

# include	<iostream>

#include "IAUdp.hpp"

template<typename A, typename B>
A Convert(B t);

class UdpUnix : public IAUdp
{
public:
  UdpUnix();
  ~UdpUnix();

  virtual int SetSockNonBlocking(int fd);
  virtual int SendTo(int	fd,
		     SockInfo si,
		     char *buf,
		     int	size);
  
  virtual int RecvFrom(int	fd,
		       SockInfo si,
		       char *buf,
		       int	size) ;
  virtual int Bind(int fd,
		   SockInfo &si);
  virtual int Socket();
  virtual int	OpenSocket(int	&FdSocket);
};

#endif		/* UDPUNIX_HPP_ */
